<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>配额概况</title>
    <script src="jquery/jquery-3.3.1.min.js"></script> <!-- 你必须先引入jQuery1.8或以上版本 -->
    <link rel="stylesheet" href="css/quotaform.css">
    <script src="javascript/canvas.js"></script>
    <link rel="stylesheet" href="zTree/layui/css/layui.css">
    <style type="text/css">
        .canvas_circle{
            border: 1px solid #000000;
            float: left;
            margin: 10px;
        }
    </style>
</head>
<body>
<!--用户配额概况-->
<canvas class="canvas_circle" id="canvas_circle0" width="350" height="100" >
    浏览器不支持canvas
</canvas>
<canvas class="canvas_circle" id="canvas_circle1" width="350" height="100" >
    浏览器不支持canvas
</canvas>
<canvas class="canvas_circle" id="canvas_circle2" width="350" height="100" >
    浏览器不支持canvas
</canvas>
<canvas class="canvas_circle" id="canvas_circle3" width="350" height="100" >
    浏览器不支持canvas
</canvas>
<script>
    function getQuotaOfUserInDataBase() {
        $.ajax({
            url: "instance/getQuotaOfUserInDataBase",
            type: "POST",
            data: "",
            dataType: "json",
            success: function (json) {
                draw4CircleForQuota(json);
            }
        });
    }
    getQuotaOfUserInDataBase();
</script>
</body>
</html>